package com.indexingsystem.boss.Vo;

import java.io.Serializable;
import java.util.List;
//关联订单或取消管理订单接口（合同管理）  请求Vo
public class ContractRelationsReqVo implements Serializable{
	private static final long serialVersionUID = 1L;
	private List<String> orderNoList;
	private String contractNo;
	private String operatType;
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((contractNo == null) ? 0 : contractNo.hashCode());
		result = prime * result + ((operatType == null) ? 0 : operatType.hashCode());
		result = prime * result + ((orderNoList == null) ? 0 : orderNoList.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ContractRelationsReqVo other = (ContractRelationsReqVo) obj;
		if (contractNo == null) {
			if (other.contractNo != null)
				return false;
		} else if (!contractNo.equals( other.contractNo ))
			return false;
		if (operatType == null) {
			if (other.operatType != null)
				return false;
		} else if (!operatType.equals( other.operatType ))
			return false;
		if (orderNoList == null) {
			if (other.orderNoList != null)
				return false;
		} else if (!orderNoList.equals( other.orderNoList ))
			return false;
		return true;
	}
	public ContractRelationsReqVo(List<String> orderNoList, String contractNo, String operatType) {
		super();
		this.orderNoList = orderNoList;
		this.contractNo = contractNo;
		this.operatType = operatType;
	}
	public ContractRelationsReqVo() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "ContractRelationsReqVo [orderNoList=" + orderNoList + ", contractNo=" + contractNo + ", operatType=" + operatType + "]";
	}
	public List<String> getOrderNoList() {
		return orderNoList;
	}
	public void setOrderNoList(List<String> orderNoList) {
		this.orderNoList = orderNoList;
	}
	public String getContractNo() {
		return contractNo;
	}
	public void setContractNo(String contractNo) {
		this.contractNo = contractNo;
	}
	public String getOperatType() {
		return operatType;
	}
	public void setOperatType(String operatType) {
		this.operatType = operatType;
	}
}
